Cocktail Help Reference
OnSaving Method
See Also  Send Feedback
Cocktail Assembly > Cocktail Namespace > EntityManagerDelegate<T> Class : OnSaving Method



source
The source of the event.
args
The original event arguments.

Glossary Item Box

Called when the EntityManager is preparing to save changes.

Syntax

Visual Basic (Declaration) 
Public Overridable Sub OnSaving( _
   ByVal source As T, _
   ByVal args As IdeaBlade.EntityModel.EntitySavingEventArgs _
) 
Visual Basic (Usage)Copy Code
Dim instance As EntityManagerDelegate(Of T)
Dim source As T
Dim args As IdeaBlade.EntityModel.EntitySavingEventArgs
 
instance.OnSaving(source, args)
C# 
public virtual void OnSaving( 
   T source,
   IdeaBlade.EntityModel.EntitySavingEventArgs args
)
C++/CLI 
public:
virtual void OnSaving( 
   T^ source,
   IdeaBlade.EntityModel.EntitySavingEventArgs^ args
) 

Parameters

source
The source of the event.
args
The original event arguments.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.